const koa = require('koa');

const bodyParser = require('koa-bodyparser');
const userRouter = require('../router')

const app = new koa();

app.use(bodyParser());

userRouter(app);

module.exports = app;